package top.mccat.common.core.domain.bk;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.mccat.common.annotation.Excel;
import top.mccat.common.core.domain.BaseEntity;

/**
 * 供货商对象 bk_supplier
 * 
 * @author ruoyi
 * @date 2022-11-06
 */
public class BkSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供货商表主键 */
    private Long id;

    /** 供货商/厂家名 */
    @Excel(name = "供货商/厂家名")
    private String supplierName;

    /** 供应商/厂家联系人姓名 */
    @Excel(name = "供应商/厂家联系人姓名")
    private String contacts;

    /** 供应商电话号码 */
    @Excel(name = "供应商电话号码")
    private String tel;

    @Excel(name = "合作状态")
    private boolean delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }

    public boolean getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(boolean delFlag)
    {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierName", getSupplierName())
            .append("contacts", getContacts())
            .append("tel", getTel())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
